﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;
public partial class Home_OrderReView : BaseUserPage
{
    protected string _orderid = "";
    protected OrderInfo _orderInfo = new OrderInfo();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            _orderid = Request.QueryString["orderid"] as string;

            var orderid = Utility.Cast2int(_orderid);
            if (orderid > 0)
            {
                OrdersManage ordermanage = new OrdersManage();
                _orderInfo = ordermanage.GetOrder(orderid);
            }
        }
    }
}